home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / mesg.z / mesg
Encoding:
Text File  |  2002-10-03  |  4.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. MMMMEEEESSSSGGGG((((1111))))                                                                MMMMEEEESSSSGGGG((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      mesg - permit or deny messages
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      mmmmeeeessssgggg [ yyyy | nnnn ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _m_e_s_g with argument nnnn forbids messages via _w_r_i_t_e(1) , _t_a_l_k or other
  16.      utilities by revoking non-user write permission on the user's terminal.
  17.      The terminal affected is determined by searching for the first terminal
  18.      in the sequence of devices associated with standard input, standard
  19.      output and standard error, respectively.  _m_e_s_g with argument yyyy reinstates
  20.      permission.  All by itself, _m_e_s_g reports the current state without
  21.      changing it.  Processes with appropriate privileges may be able to send
  22.      messages to the terminal independently of the current state.
  23.  
  24. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  25.      None.
  26.  
  27. OOOOPPPPEEEERRRRAAAANNNNDDDDSSSS
  28.      The following operands are supported in the POSIX locale:
  29.  
  30.      yyyy    grant permission to other users to send messages to the terminal
  31.           device
  32.  
  33.      nnnn    deny permission to other users to send messages to the terminal
  34.           device
  35.  
  36. SSSSTTTTDDDDIIIINNNN
  37.      Not used.
  38.  
  39. EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT VVVVAAAARRRRIIIIAAAABBBBLLLLEEEESSSS
  40.      The following environment variables affect the execution of _mmmm_eeee_ssss_gggg:
  41.  
  42.      _LLLL_AAAA_NNNN_GGGG provide a default value for the internationalization variables that
  43.           are unset or null.  If _L_A_N_G is unset or null the corresponding value
  44.           from the implementation-specific default locale will be used. If any
  45.           of the internationalization variables contains an invalid setting,
  46.           the utility will behave as if none of the variables had been
  47.           defined.
  48.  
  49.      _LLLL_CCCC______AAAA_LLLL_LLLL
  50.           if set to a non-empty string value, override the values of all the
  51.           other internationalization variables.
  52.  
  53.      _LLLL_CCCC______CCCC_TTTT_YYYY_PPPP_EEEE
  54.           determine the locale for the interpretation of sequences of bytes of
  55.           text data as characters (for example, single - as opposed to multi-
  56.           byte - characters in arguments).
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MMMMEEEESSSSGGGG((((1111))))                                                                MMMMEEEESSSSGGGG((((1111))))
  71.  
  72.  
  73.  
  74.      _LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS
  75.           determine the locale that should be used to affect the format and
  76.           contents of diagnostic messages written to standard error.
  77.  
  78.      _NNNN_LLLL_SSSS_PPPP_AAAA_TTTT_HHHH
  79.           determine the location of message catalogs for the processing of
  80.           _L_C__M_E_S_S_A_G_E_S.
  81.  
  82. SSSSTTTTDDDDOOOOUUUUTTTT
  83.      If no operand is specified, _mmmm_eeee_ssss_gggg displays the current terminal state in
  84.      an unspecified format.
  85.  
  86. SSSSTTTTDDDDEEEERRRRRRRR
  87.      Used donly for diagnostic messages.
  88.  
  89. EEEEXXXXIIIITTTT SSSSTTTTAAAATTTTUUUUSSSS
  90.      The following exit values are returned:
  91.      _0000   receiving messages is allowed
  92.      _1111   receiving messages is not allowed
  93.      _>>>>_1111  an error occurred
  94.  
  95. FFFFIIIILLLLEEEESSSS
  96.      /dev/tty*
  97.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_uuuu_xxxx_cccc_oooo_rrrr_eeee language-specific message file
  98.      [See _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5).]
  99.  
  100. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  101.      write(1).
  102.  
  103. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  104.      Exit status is 0 if messages are receivable, 1 if not, 2 on error.
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.